package com.wang.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wang.mapper.AddSetCheckDataMapper;
import com.wang.pojo.AddSetCheckData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class AddSetCheckDataServiceImpl extends ServiceImpl<AddSetCheckDataMapper, AddSetCheckData> implements AddSetCheckDataService {

    @Autowired
    private AddSetCheckDataMapper addSetCheckDataMapper;

    @Override
    public List<AddSetCheckData> selectByDevGId(String devGId) {
        return addSetCheckDataMapper.selectList(new LambdaQueryWrapper<AddSetCheckData>().eq(AddSetCheckData::getDevGId,devGId));
    }
}
